package com.dr.springboot.starter.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by rui on 2018/7/25.
 */
@Controller
@RequestMapping("/mvc")
public class MVCController {

    @RequestMapping(value = "/message",method = RequestMethod.GET)
    @ResponseBody
    public String mvcMessage(){
        return "ming";
    }
}
